//
//  KWebViewController.m
//  Keping
//
//  Created by admin on 2018/10/22.
//  Copyright © 2018年 柯平. All rights reserved.
//

#import "KHAHAWebViewController.h"

@interface KHAHAWebViewController ()

@property(nonatomic, weak) UIWebView *hahWebView;

@end

@implementation KHAHAWebViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    UIWebView *webView = [[UIWebView alloc] init];
    [webView loadRequest: [NSURLRequest requestWithURL:self.url]];
    [self.view addSubview:webView];
    self.hahWebView = webView;
    
}

- (void)viewWillLayoutSubviews {
    [super viewWillLayoutSubviews];
    
    self.hahWebView.frame = self.view.bounds;
}
@end
